package com.zhihesj.anan;

/**
 * @author anan.
 * @version 1.0
 * @create 2020-12-27 10-55
 */
//@TypeAnnotation(value = "doWork")
@TypeAnnotation
public class Worker {

    @FiledAnnotation(value = "CSDN博客")
    private String myfield = "";

    @MethodAnnotation()
    public String getDefaultInfo(){
        return "do the getDefaultInfo method";
    }

    @MethodAnnotation(name="百度",url="www.baidu.com")
    public String getDefineInfo(){
        return "do the getDefineInfo method";
    }
}
